package com.wxz.gblw.cjg.common.base;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xiangzhong.wang
 * @date 2019-12-31 15:24
 */
@Data
public class BaseWxzVoEntity implements Serializable {

    public interface Add{};//默认验证组

    public interface Update{};//更新验证组

    /**主键 自增生成策略*/
    @NotNull(message = "主键不能为空！" ,groups = Update.class)
    private Long id;

}
